home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
utility
/
tsbat50.zip
/
TSBAT.INF
< prev
next >
Wrap
Text File
|
1996-09-01
|
11KB
|
275 lines
- 1 -
Sun 1-September-1996
About TSBAT in General (All rights reserved)
======================
┌───────────────────────────────────────────────────────────────┐
│ Please do not distribute any part of this package separately. │
└───────────────────────────────────────────────────────────────┘
This package may be used and distributed freely for NON-COMMERCIAL,
NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in
any way. (Repacking with another method is ok, though.) For ANY
other usage, such as use in a business enterprise or at a
university, contact the author for registration. Uploading to
bulletin boards is encouraged.
You are free to quote brief passages from this package provided you
clearly indicate the source with a proper acknowledgment.
If you have comments about the this collection, please do not
hesitate to use electronic mail for communication. But if you wish
to have individual batch problems or programming consultation,
please post your questions to a suitable Usenet newsgroup like
news:comp.os.msdos.misc, news:comp.os.msdos.programmer or
news:alt.msdos.batch. It is much more efficient than asking me by
email. I'd like to help, but I am very pressed for time. I prefer to
pick the questions I answer from the Usenet news. Thus I can answer
publicly at one go if I happen to have an answer. Besides,
newsgroups have a number of readers who might know a better or an
alternative answer. Don't be discouraged, though, if you get a reply
like this from me. I am always glad to hear from fellow users.
You'll find many suggestions, improvements, and corrections from
helpful Usenet users in the ftp://garbo.uwasa.fi/pc/pd2/tspost*.zip
information and feedback files. See tspost00.zip for the index of
the said files. See the end of the current file for same pointers.
These batches and the information are for MS-DOS with the
command.com interpreter. Some of the tricks may not work properly a
such on a DR-DOS system or with the 4DOS command interpreter because
of their subtle incompatibilities with the vanilla MS-DOS.
Furthermore, I have seen it stated on the Usenet news that in the
Windows 95 MS-DOS box there may be subtle problems with batches
written for MS-DOS, since in the new "MS-DOS 7.0" some of the
accustemed features no longer are in effect.
The author shall not be liable to the user for any direct, indirect
or consequential loss arising from the use of, or inability to use,
any program, batch or file howsoever caused. No warranty is given
that the batches, the programs or the advice given will work under
all circumstances.
Timo Salmi (email: ts@uwasa.fi WWW: http://uwasa.fi/~ts/)
Professor of Accounting and Business Finance
Faculty of Accounting & Industrial Management
University of Vaasa
P.O. BOX 700, FIN-65101 Vaasa, Finland
- 2 -
Contents of Timo Salmi BATches. The batches are self-documenting.
But also see tsbat.nws news file for tips and information.
TSBAT50 Batch file collection, T.Salmi
Filename Comment
-------- --------------------------------
ADDPATH.BAT Append directories to the path
APATH-OM.BAT Otto Makela's version of addpath
ARC2ZIP.BAT Single .arc to .zip with comment
ASK.EXE Ask questions in a batch file
ASKENV.EXE Ask, returning environment value
BASENAME.EXE Extract file name from full name
BASEPATH.EXE Extract path name from full name
BASEXTEN.EXE Extract file extension from name
BATRICKS.TXT Assorted batch tricks and tips
BDIR.BAT Bare list & count of directories
BLANK.BAT Poor man's screen saver
BLK.BAT Poor man's screen saver & popup
BOOT.BAT Choose your boot configuration
C.BAT Lazy changing of directory
CD.AUX Auxiliary ascii file for pushit
COLOR.BAT Set screen color attributes
COLORMAP.BAT Ansi screen color esc. seq. map
D.BAT Directory with sort & wildsearch
DAILY.BAT Run a program only once a day
DELDIR.BAT Remove directory and its files
DELPATH.BAT Delete a directory from the path
DOSTRICK.TXT Assorted MsDos tricks and tips
EDIT.BAT A truly trivial text editor
EXE2ZIP.BAT Self-extracting file into a zip
FILE_ID.DIZ Brief characterization of TSBAT
FU.BAT Poor man's function evaluator
GFIND.BAT Combine Garbo index files info
HEX.BAT Add and subtract hexadecimals
ISANSI.EXE Has a screen driver been loaded
LASTBOOT.BAT Show date + time of previos boot
LC.BAT Line count for text files
LEVEL.BAT Testbench for program errorlevel
LINK1.BAT How to link batch files together
LINK2.BAT Batch link demo's second file
LOCATE.BAT Wildcard file find
LOGRUN.BAT Log program usage & time and run
LOOP.BAT An index loop demonstration
M.BAT Give multiple MsDos commands
MAKESURE.BAT Simple command.com virus warning
MENU.BAT Run programs from a menu
MVE.BAT Move file to another directory
PATH.TXT How to beat the 127 byte limit
POPDIRE.BAT Restore (pop) saved directory
POPPATH.BAT Restore the saved path
PORTS.BAT Display port base I/O addresses
PROMPT.TXT Tips on prompt usages with ansi
PUSHDIRE.BAT Non-resident push directory
PUSHIT.BAT Alternative pushing of directory
PUSHPATH.BAT Save the current path
REPLY.BAT How to give input within a batch
REZIP.BAT Remove zip authenticity labels
RULER.BAT Show screen columns
RUN.BAT Testing for viruses
SAFEDEL.BAT Safe delete of files
SAMENAME.BAT Display drive's files by name
SAMESIZE.BAT Display drive's files by size
SCANZ.BAT Scan for viruses (incl. execomp)
SCOPY.BAT Copy a file with a single device
SETCOM.BAT Secure your command.com
SETPRN.BAT Set an Epson compatible printer
SHOW.BAT Wildcard multifile type command
SHOWTIME.BAT Show current date and time
SKIP.BAT Perform commands, skipping files
SUBS.BAT Make current dir a subst drive
SWEEP.BAT Go recursively thru directories
TEST33.BAT Test for MsDos 3.3 or later demo
TESTANSI.BAT Ansi-type screen driver present?
TOUCH.BAT Touch a file's datetime stamp
TSBAT.INF Document (a readme)
TSBAT.NWS News concerning this package
TSPROG.INF List of programs from Timo Salmi
UNPACK.BAT Unpack-test-view any archivetype
VAASA.INF Info: Finland, Vaasa, U of Vaasa
VIRUS.BAT Another batch-based virus test
WEEKLY.BAT Run program(s) once a week
WHERE.BAT Generic searchstring fname find
WILD.BAT Wildcard any command
ZIPDATE.BAT Equate .zip date to latest file
ZOO2ZIP.BAT Single .zoo to .zip with comment
---- ------ ------ -----
0079
Questions, feedback, alternatives, and improvements from the users:
==================================================================
tspost24.zip
------------
From: Mark Rogers <mcr@holly.demon.co.uk>
Date: Tue, 30 Apr 96 20:16:07 GMT
Subject: Re: TSBAT48 - Some thoughts....
From: ts@uwasa.fi (Timo Salmi)
To: dwayne.sterling@fastdrs.com (Dwayne Sterling)
Date: Sun, 10 Mar 1996 07:40:21 +0200 (EET)
Subject: Re: tsbat46.zip batch tricks
From: Don Costello <costello@illuminet.net>
Date: Wed, 21 Feb 96 23:55:02 PST
Subject: Re: Your batch tips/tricks -- GREAT!
From: Lars Alexandersen <lalexand@diku.dk>
Date: Sat, 10 Feb 1996 19:33:08 +0100 (MET)
Subject: A batch to show the errorlevel
tspost23.zip
------------
From: jrusnak@MIT.EDU (John Rusnak)
Date: Wed, 23 Aug 1995 18:04:00 EDT
Subject: Random numbers with a batch file
From: klee@mistress.informatik.unibw-muenchen.de (Herbert Kleebauer)
Date: Mon, 7 Aug 1995 12:59:35
Subject: Re: A comment on tsbat47.zip
From: adimare@cariari.ucr.ac.cr (Adolfo Di Mare)
Date: Sun, 28 May 1995 10:39:25 -0600 (CST)
Subject: recursive whereis.bat
tspost22.zip
------------
From: lordsoth@ix.netcom.com (Joseph Seymour)
Date: Fri, 10 Feb 1995 01:04:07 -0800
Subject: Re: Redirection in batch files
tspost21.zip
------------
From: ts@uwasa.fi (Timo Salmi)
To: benzion@HUM.HUJI.AC.IL (Cassouto Ben-Zion Y.)
Date: Sun, 4 Sep 1994 22:41:14 +0300 (EET DST)
Subject: Re: base????.exe programs in tsbat46.zip
From: ts@uwasa.fi (Timo Salmi)
To: jmcging@access.digex.net (John McGing)
Date: Sun, 21 Aug 1994 08:24:48 +0300 (EET DST)
Subject: Re: TSBAT45 and DRDOS6
tspost19.zip
------------
From: "CLAUS FISCHER" <WI00227@wipool.wifo.uni-mannheim.de>
Date: Fri, 18 Feb 1994 15:34:39 CET
Subject: Update for Timo's FU.BAT
From: Remco Broekhoff <100041.3006@CompuServe.COM>
Date: 23 Feb 94 05:00:11 EST
Subject: tsbat: lastboot.bat -> BOOTREC.BAT
From: grether@wsuaix.csc.wsu.edu (ed grether)
Date: Sat, 19 Dec 92 18:03:03 PST
Subject: Review of TSBAT40.ZIP
tspost18.zip
------------
From: David Pickles <D.M.Pickles@bristol.ac.uk>
Date: Thu, 6 Jan 94 16:35:45 GMT
Subject: Re: Re-boot from a batch file?
From ts@uwasa.fi Thu Feb 3 21:45:46 1994
Subject: Re: PUSHDIRE.BAT & POPDIRE.BAT
To: kfagans@nyx.cs.du.edu (Kenn R. Fagans)
tspost17.zip
------------
From: mcr@holly.demon.co.uk (Mark Rogers)
Subject: TSBAT / User input in .BAT files / A little ingenuity
Date: Thu, 14 Oct 1993 00:48:45 +0000
From: mcr@holly.demon.co.uk (Mark Rogers)
Subject: tsbat - level.bat improvements
Date: Mon, 15 Nov 1993 13:31:44 +0000
tspost16.zip
------------
From: ccml@hippo.ru.ac.za (Mike Lawrie)
Subject: getdrv.bat
Date: Sun, 13 Jun 1993 22:09:41 +0200 (EET)
From: mcr@holly.demon.co.uk (Mark Rogers)
Subject: Re: Dos Errorlevel
Date: Sun, 29 Aug 1993 17:06:30 +0000
tspost13.zip
------------
From: rcmcc@canis.bellcore.com (Ron McConnell)
Date: Thu, 4 Feb 93 12:55:22 EST
Subject: ruler.bat
From ts@uwasa.fi Sat Feb 13 07:18:25 1993
Subject: Re: a batch programming question
To: bmaggio@dcs.bellcore.com (Bill Maggio)
tspost12.zip
------------
From: pete@quake.sylmar.ca.us (Pete Benjamin)
Date: Wed, 21 Oct 92 13:12 PDT
Subject: FYI - A mod for ruler.bat that includes the tens position.
tspost10.zip
------------
From: Richard Kaye <KAYE@vax.oxford.ac.uk>
Date: Mon Jun 29 15:30:55 1992
Subject: TSBAT, alternative ERRORLEVEL code
From: ts@uwasa.fi (Timo Salmi)
Date: Tue, 18 Aug 1992 05:20:17 GMT
Subject: A batch programming contest for you